home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / dviware / dvi2ps / dvi-to-ps / makefile < prev    next >
Makefile  |  1990-10-01  |  2KB  |  73 lines

  1. #------------------------------------------------------------------------
  2. # makefile for dvi2ps
  3. #------------------------------------------------------------------------
  4. # $Header: Makefile,v 2.0 88/06/07 15:12:01 peterd Rel2 $
  5. #------------------------------------------------------------------------
  6. # The following file and directory specifications may need changing at
  7. # your site:
  8. #------------------------------------------------------------------------
  9.  
  10. # where are the bitmaps stored?
  11. FONTAREA=/usr/local/lib/tex/fonts/gf300
  12.  
  13. # where is the header file to be found?
  14. HDRFILE=/usr/local/lib/tex/tex.ps
  15.  
  16. # where is the software to be installed
  17. BINAREA=/usr/local
  18.  
  19. # an Apollo-specific spool file
  20. SPOOLFILE=/usr/spool/laserwriter/apollo
  21.  
  22. #------------------------------------------------------------------------
  23. # By default we will use GF format files.  If you want to use PXL
  24. # format instead, then include a -DUSEPXL below.  Actually, if this
  25. # is the case, the routines in gf.c are not needed
  26. #------------------------------------------------------------------------
  27.  
  28. #DFLAGS = -DFONTAREA=\"${FONTAREA}\" -DHDRFILE=\"${HDRFILE}\" \
  29. #         -DSPOOLFILE=\"${SPOOLFILE}\" -DUSEPXL
  30. DFLAGS = -DFONTAREA=\"${FONTAREA}\" -DHDRFILE=\"${HDRFILE}\" \
  31.          -DSPOOLFILE=\"${SPOOLFILE}\"
  32.  
  33. CFLAGS = ${DFLAGS} -O
  34. #CFLAGS = ${DFLAGS} -pg -O
  35.  
  36. OBJS = dvi2ps.o findfile.o gf.o
  37.  
  38. #------------------------------------------------------------------------
  39. # the make rules
  40.  
  41. all: dvi2ps
  42.  
  43. dvi2ps:    ${OBJS}
  44.     ${CC} ${CFLAGS} -o dvi2ps ${OBJS}
  45.     size dvi2ps
  46.     ls -l dvi2ps
  47.  
  48. install: all
  49.     install -s -m 755 dvi2ps ${BINAREA}/dvi2ps
  50.     cp tex.ps ${HDRFILE}
  51.  
  52. clean:
  53.     -rm dvi2ps ${OBJS} core
  54.  
  55.  
  56. #------------------------------------------------------------------------
  57. # more specific dependencies
  58.  
  59. dvi2ps.o: Makefile
  60. dvi2ps.o: commands.h
  61. dvi2ps.o: font.h
  62. dvi2ps.o: findfile.h
  63. dvi2ps.o: gf.h
  64.  
  65. gf.o: Makefile
  66. gf.o: gf.h
  67.  
  68. findfile.o: Makefile
  69. findfile.o: findfile.h
  70.  
  71. #------------------------------------------------------------------------
  72.  
  73.